using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ImageRatio : MonoBehaviour
{
    [SerializeField] RectTransform m_Canvas;
    RectTransform m_Trans;

    void Start()
    {
        m_Trans = this.transform as RectTransform;
        m_Trans.sizeDelta = new Vector2(m_Canvas.sizeDelta.y*1.6f, m_Canvas.sizeDelta.y);
    }
}
